//
//  ObjTransformPropertyPair.m
//  etionMisc
//
//  Created by wjxfhxy on 14-6-10.
//  Copyright (c) 2014年 GuangZhouXuanWu. All rights reserved.
//

#import "ObjTransformPropertyPair.h"

@implementation CObjTransformPropertyPair

@synthesize propertyType = _propertyType;

- (id)initWithKey:(NSString *)szCol Property:(NSString *)szProperty
{
    self = [super init];
    
    super.idKey = szCol;
    super.idValue = szProperty;
    
    return self;
}

+ (CObjTransformPropertyPair *)objTransformPropertyPairWithKey:(NSString *)szCol property:(NSString *)szProperty
{
    return [[[CObjTransformPropertyPair alloc] initWithKey:szCol Property:szProperty] autorelease_mm];
}


- (id)copyWithZone:(NSZone *)zone
{
    CObjTransformPropertyPair *pair = (CObjTransformPropertyPair *) [[super copyWithZone:zone] init];
    pair.propertyType = _propertyType;
    
    return pair;
}

@end
